package com.len.base;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhuxiaomeng
 * @date 2017/12/30.
 * @email 154040976@qq.com
 */
public class CurrentMenu implements Serializable {
	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */
	private static final long serialVersionUID = 1L;

	private String id;

	private String name;

	private String pId;

	private String url;

	private Integer orderNum;

	private String icon;

	private String createBy;

	private Date createDate;

	private String updateBy;

	private Date updateDate;

	private String permission;

	private Byte menuType;
	/** 菜单排序id 填充菜单展示id */
	private int num;

	public CurrentMenu(String id, String name, String pId, String url, Integer orderNum, String icon, String permission,
			Byte menuType, int num) {
		this.id = id;
		this.name = name;
		this.pId = pId;
		this.url = url;
		this.orderNum = orderNum;
		this.icon = icon;
		this.permission = permission;
		this.menuType = menuType;
		this.num = num;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public Byte getMenuType() {
		return menuType;
	}

	public void setMenuType(Byte menuType) {
		this.menuType = menuType;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	@Override
	public String toString() {
		return "CurrentMenu [id=" + id + ", name=" + name + ", pId=" + pId + ", url=" + url + ", orderNum=" + orderNum
				+ ", icon=" + icon + ", createBy=" + createBy + ", createDate=" + createDate + ", updateBy=" + updateBy
				+ ", updateDate=" + updateDate + ", permission=" + permission + ", menuType=" + menuType + ", num="
				+ num + "]";
	}

}
